<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>产品分类编辑</title>    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<link rel="stylesheet" href="../theme1/css/reset.css" type="text/css"/>
	<link rel="stylesheet" href="../theme1/css/screen.css" type="text/css"/>
	<link rel="stylesheet" href="../theme1/css/screen-common.css" type="text/css"/>	
	<script type="text/javascript" src="../js/jquery.js"></script>
	<script type="text/javascript" src="../theme1/js1/script.js"></script>	
	<script type="text/javascript" src="../ckedit/ckeditor/ckeditor.js"></script>
	<script type="text/javascript" src="../ckedit/ckfinder/ckfinder.js"></script>
  </head>
  
  <body>
  <div class="page wrap" >
  <!-- menu bar -->
  <div class="menubar clear" >
	  <ul class="menus clear">
		  <li><a href="Category_edit.action">添加产品分类</a></li>
		  <li><a href="Category_list.action">返回列表</a></li>
	  </ul>
  </div>
   <div class="content-box">
   <div class="box-header clear">					
			<h2>产品分类编辑</h2>
    </div>
    <div class="box-body clear">	  
  	<s:actionerror/>
  	<s:actionmessage/>
  	<form class="form" action="Category_saveedit.action" method="post" >
	  <s:hidden name="category.id"></s:hidden>
	  <div class="form-field clear">
		  	<label class="form-label fl-space2" for="category_parentId">所属分类： </label>
		  	<s:select list="categoryList" listKey="id" listValue="categoryName" name="category.parentId" headerKey="-1" headerValue="----顶级分类----"></s:select>
		  	<span class="required">*</span>
	  </div>	  
	  <div class="form-field clear">
	  	<label class="form-label fl-space2" for="category_categoryName">分类名称： </label>
	  	<s:textfield name="category.categoryName"></s:textfield>
	  	<span class="required">*</span>
	  </div> 	  	
	  <div class="form-field clear" style="display:inline-block">
			<input type="submit" value="提交" class="submit fr">
	  </div> 	  
  </form>
  </div>
  </div>
  </div>   
  </body>
</html>
